<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>常用的文本颜色_文本标签</title>
    <style>
        .div1 {
            color: red;
        }
        .div2 {
            color: rgb(255,0,0);
        }
        .div3 {
            color: rgba(255,0,0,0.5);
        }
        .div4 {
            color: #00f;
        }
        .div5 {
            color: #00f8;
        }
        .div6 {
            color: hsl(0,100%,50%);
        }
    </style>
</head>
<body>
    <div class="div1">内容一</div>
    <div class="div2">内容二</div>
    <div class="div3">内容三</div>
    <div class="div4">内容四</div>
    <div class="div5">内容五</div>
    <div class="div6">内容六</div>
</body>
</html>